<template>
	<view class="page" :style="{'min-height':h+'px','padding-top':(mt+54)+'px'}">
		<!-- 头部 -->
		<u-navbar title="一码通" :leftIconSize="36" bgColor="transparent" leftIconColor="#333333" :titleStyle="titleStyle"
			@leftClick="returnBack"></u-navbar>
		<image class="top_bg" src="https://i.ringzle.com/file/20231030/e60da9014bc443d69afc5e53c590982b.png"></image>
		<view class="content">
			<view class="c_code">
				<image class="ewm" src="https://i.ringzle.com/file/20231030/c8707e3ee58b49a599c6105c0680f2e2.png"></image>
				<text>出示一码通，方便您的旅程</text>
			</view>
			<view class="c_bottom">暂无可用</view>
		</view>
		<image class="bottom_bg" src="https://i.ringzle.com/file/20231030/23aa7afa3b554a3d89dc6b741d28b197.png"></image>
	</view>
</template>

<script>
	export default {
		name:'',
		data() {
			return {
				h: uni.getSystemInfoSync().windowHeight,
				mt: uni.getSystemInfoSync().statusBarHeight + 44,
				titleStyle: {
					fontSize: '36rpx',
					fontWeight: "bold",
					color: "#333333"
				},
			}
		},
		methods: {
			returnBack(){
				uni.reLaunch({
					url: '/pages/my/index'
				})
			},
		}
	}
</script>

<style scoped lang="less">
	.page{
		background: #F5F8FA;
		padding-bottom: 127rpx;
		
		.top_bg{
			width: 100%;
			height: 523rpx;
			position: absolute;
			top: 0;
			left: 0;
			z-index: 0;
		}
		
		.content{
			position: relative;
			z-index: 2;
			width: calc(100% - 82rpx);
			background: #FFFFFF;
			border-radius: 32rpx;
			margin: 75rpx 41rpx 0;
			.c_code{
				display: flex;
				flex-direction: column;
				align-items: center;
				.ewm{
					width: 350rpx;
					height: 350rpx;
					margin-top: 100rpx;
				}
				text{
					font-size: 30rpx;
					font-family: PingFangSC-Regular, PingFang SC;
					font-weight: 400;
					color: #333333;
					margin: 54rpx 0;
				}
			}
			.c_bottom{
				width: 100%;
				height: 100rpx;
				background: #01B9F9;
				border-radius: 0rpx 0rpx 32rpx 32rpx;
				line-height: 100rpx;
				text-align: center;
				font-size: 30rpx;
				font-family: PingFangSC-Regular, PingFang SC;
				font-weight: 400;
				color: #FFFFFF;
			}
		}
		
		.bottom_bg{
			width: 100%;
			height: 127rpx;
			position: fixed;
			bottom: 0;
			z-index: 1;
		}
	}
</style>